From: Richard M. Stallman Date: Wed, 27 Jul 1994 00:12:59 +0000 (+0000) Subject: (wait_reading_process_input): If wait_for_cell, X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~90708 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e86bf4080542c79308bd1f7e17ed7687b965f1de;p=emacs.git (wait_reading_process_input): If wait_for_cell, do check for keyboard input and handle it. --- diff --git a/src/process.c b/src/process.c index 43d569b201b..e05c2601a6f 100644 --- a/src/process.c +++ b/src/process.c @@ -1950,10 +1950,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) /* Wait till there is something to do */ Available = input_wait_mask; - /* We used to have && wait_for_cell == 0 - but that led to lossage handling selection_request events: - within one, we would start to handle another. */ - if (! XINT (read_kbd)) + if (! XINT (read_kbd) || wait_for_cell != 0) FD_CLR (keyboard_descriptor, &Available); /* If frame size has changed or the window is newly mapped,